package com.mapper;

import com.pojo.Consumption;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ConsumptionMapper {
    void insertConsumption(Consumption consumption);
    List<Consumption> getConsumptionRecords(int userId);

}